<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<link rel="stylesheet" href="/css/message.css" type="text/css" media="all" />

<h2 style="margin-left: 2%;">Thêm học phần</h2>
<hr size="1" />

<div style="display: block; height: 40px"></div>
<div class="box">
	<h3 class="boxTitle">Thêm học phần</h3>
	<form:form commandName="createSubjectViewModel" method="POST" id="createSubjectForm">
		<form:errors path="*" cssClass="errorblock" element="div" />
		<table align="center">
			<tr>
				<td>Mã học phần (*)</td>
				<td><form:input path="subjectId" id="subjectId" cssClass="inputField" /></td>
			</tr>
			<tr>
				<td>Tên học phần (*)</td>
				<td><form:input path="subjectName" id="subjectName" cssClass="inputField" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="submit" value="Thêm mới" /></td>
			</tr>
		</table>
	</form:form>
</div>